Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XLOOKUP function #1469

Draft
wants to merge 23 commits into
base: develop
Choose a base branch
from
Draft

XLOOKUP function #1469

wants to merge 23 commits into from

Conversation

sequba
Copy link
Contributor

@sequba sequba commented Dec 5, 2024

Context

  • merge PR by @selimyoussry
  • add more unit tests including several edge cases
  • adjust the implementation to meet the criteria specified by the tests
  • add changelog entry
  • add entry to the built-in functions page
  • describe the limitation of the function and differences between HyperFormula and Excel and Google Sheets

How did you test your changes?

unit tests

Types of changes

  • Breaking change (a fix or a feature because of which an existing functionality doesn't work as expected anymore)
  • New feature or improvement (a non-breaking change that adds functionality)
  • Bug fix (a non-breaking change that fixes an issue)
  • Additional language file, or a change to an existing language file (translations)
  • Change to the documentation

Related issues:

Fixes #1458

Checklist:

  • I have reviewed the guidelines about Contributing to HyperFormula and I confirm that my code follows the code style of this project.
  • I have signed the Contributor License Agreement.
  • My change is compliant with the OpenDocument standard.
  • My change is compatible with Microsoft Excel.
  • My change is compatible with Google Sheets.
  • I described my changes in the CHANGELOG.md file.
  • My changes require a documentation update.
  • My changes require a migration guide.

@sequba sequba linked an issue Dec 5, 2024 that may be closed by this pull request
@sequba sequba self-assigned this Dec 5, 2024
Copy link

github-actions bot commented Dec 5, 2024

Performance comparison of head (bfac296) vs base (bf325c3)

                                     testName |   base |   head | change
------------------------------------------------------------------------
                                      Sheet A | 511.14 | 510.19 | -0.19%
                                      Sheet B | 164.71 | 163.17 | -0.93%
                                      Sheet T | 143.86 | 142.85 | -0.70%
                                Column ranges | 508.73 | 508.65 | -0.02%
Sheet A:  change value, add/remove row/column |  13.32 |  14.24 | +6.91%
 Sheet B: change value, add/remove row/column | 131.02 | 129.35 | -1.27%
                   Column ranges - add column | 146.59 |  151.5 | +3.35%
                Column ranges - without batch | 432.63 | 442.74 | +2.34%
                        Column ranges - batch |  110.3 | 114.09 | +3.44%

Copy link

codecov bot commented Dec 7, 2024

Codecov Report

Attention: Patch coverage is 90.32258% with 6 lines in your changes missing coverage. Please review.

Project coverage is 97.17%. Comparing base (bf325c3) to head (af99365).

Files with missing lines Patch % Lines
src/interpreter/plugin/LookupPlugin.ts 90.32% 6 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1469      +/-   ##
===========================================
- Coverage    97.20%   97.17%   -0.04%     
===========================================
  Files          169      169              
  Lines        14430    14484      +54     
  Branches      3027     3050      +23     
===========================================
+ Hits         14027    14075      +48     
- Misses         403      409       +6     
Files with missing lines Coverage Δ
src/i18n/languages/csCZ.ts 100.00% <ø> (ø)
src/i18n/languages/daDK.ts 100.00% <ø> (ø)
src/i18n/languages/deDE.ts 100.00% <ø> (ø)
src/i18n/languages/enGB.ts 100.00% <ø> (ø)
src/i18n/languages/esES.ts 100.00% <ø> (ø)
src/i18n/languages/fiFI.ts 100.00% <ø> (ø)
src/i18n/languages/frFR.ts 100.00% <ø> (ø)
src/i18n/languages/huHU.ts 100.00% <ø> (ø)
src/i18n/languages/itIT.ts 100.00% <ø> (ø)
src/i18n/languages/nbNO.ts 100.00% <ø> (ø)
... and 7 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add XLOOKUP function
2 participants